// CSE571 - player-game.h
// Authors: Jonathan Wald, Daniel Sarfati, Guangle Fan
// This class holds data for each game that a client-side player connects to.

#ifndef PLAYER_GAME_H
#define PLAYER_GAME_H

#include <vector>
#include <string>

#include "ace/SOCK_Stream.h"

#include "player-svc-handler.h"
#include "hand.h"

using namespace std;

class PlayerGame {
 public:
   string get_name() { return name; }
   string get_host() { return host; }
   int get_port() { return port; }
   
   PlayerSvcHandler handler;
   
   friend class GameManager;
   friend class PlayerSvcHandler;
   
 private:
   string name;
   string dealer_name;
   vector<string> games;
   
   int port;
   string host;
   
   Hand hand;
   int score;
};

#endif
